<?php
namespace App\Services;
use Exception,Log;
use App\Models\Linkslistsqrcodes;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\Redis;
use App\Models\Linkslistsminapps;
use App\Models\Linkslists;
use App\Services\HtmlossService;

class KefuService
{
    public static function getKefuLink($links_id,$record_id)
    {
        $kefuLists = ["https://work.weixin.qq.com/kfid/kfc5c5f00639994d338?enc_scene=ENCMEPRc9ZEWsdkRn5nm9zqUD","https://work.weixin.qq.com/kfid/kfcb76f4f89b27d7386?enc_scene=ENCTBiE5ytE74E7UtCwcqSSMZ"];
        $url = $kefuLists[rand(0,count($kefuLists)-1)];
        return $url."&scene_param=".urlencode('{"links_id":"'.$links_id.'","record_id":"'.$record_id.'"}');
    }


}
